package com.model;

/**
 *
 * @author Lang Van Hao
 */
public class Priority {

    private int priorityID;
    private String priorityName;

    /**
     * Contructor for PriorityClass
     */
    public Priority() {
    }

    /**
     * Contructor for  PriorityClass
     * @param priorityID
     * @param priorityName
     */
    public Priority(int priorityID, String priorityName) {
        this.setData(priorityID, priorityName);
    }

    /**
     * Method to set data for PriorityClass
     * @param priorityID
     * @param priorityName
     */
    public void setData(int priorityID, String priorityName) {
        this.setPriorityID(priorityID);
        this.setPriorityName(priorityName);
    }

    /**
     * @return the priorityID
     */
    public int getPriorityID() {
        return priorityID;
    }

    /**
     * @param priorityID the priorityID to set
     */
    public void setPriorityID(int priorityID) {
        this.priorityID = priorityID;
    }

    /**
     * @return the priorityName
     */
    public String getPriorityName() {
        return priorityName;
    }

    /**
     * @param priorityName the priorityName to set
     */
    public void setPriorityName(String priorityName) {
        this.priorityName = priorityName;
    }
}
